package cn.mst.vrs.controller.admin.payrefund.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 支付退款单新增/修改 Request VO")
@Data
public class PayRefundSaveReqVO {

    @Schema(description = "付款单主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18924")
    @NotNull(message = "付款单主键ID不能为空")
    private Long payId;

    @Schema(description = "应退金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "应退金额不能为空")
    private BigDecimal dueRefund;

    @Schema(description = "实退金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "实退金额不能为空")
    private BigDecimal realRefund;

    @Schema(description = "退款状态（0：等待中，1：退款成功，2：退款失败）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "退款状态（0：等待中，1：退款成功，2：退款失败）不能为空")
    private Integer status;

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "177")
    private Long id;

}